home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Tools 1993 October - Disc 2
/
Power Tools (Disc 2)(October 1993)(HP).iso
/
hotlines
/
network
/
snaplus2
/
api.txt
< prev
next >
Wrap
Text File
|
1993-04-29
|
17KB
|
339 lines
HP-UX SNAplusAPI, Technical Data
For HP 9000 Series 300, 400, 700, and 800 Computer Systems
Product Number J2235A, J2229A, and J2223A
The HP-UX SNAplusAPI (Application Programming Interface) product
provides programmatic interfaces for developing applications for
program-to-program communication in hierarchical or peer-to-peer
environments.
HP-UX SNAplusAPI includes LU type 6.2 API, Network Management API and
LUA API.
[Figure: , Caption: none]
LU type 6.2 allows for Advanced Program-to-Program Communication (APPC)
between applications distributed across a network; Network Management
API, provides an application program interface for communicating with
the NetView program; and LUA enables access to remote applications using
any of the LU types 0, 1, 2, or 3.
Combined with the HP-UX SNAplusLink product, HP-UX SNAplusAPI gives
HP customers the ability to develop applications that are distributed
between an HP 9000 computer and an IBM System.
The HP-UX SNAplusAPI product can be run in either a stand-alone or
client/server environment. The stand-alone environment allows access to
IBM systems from a single HP-UX computer which has its own HP-UX
SNAplusLink. The client/server environment permits access to the IBM
systems from multiple HP-UX systems on an Ethernet or Token Ring LAN.
Client systems generally use a single HP 9000 system with SNAplusLink as
a server to access the IBM systems.
Features
LU 6.2 API provides:
o Basic and mapped conversation verbs allow HP 9000 programmers to
implement program-to-program communication in an SNA network.
o Systems running SNAplusAPI can communicate with peer systems directly
by taking advantage of SNAplusLink's Node Type 2.1 or systems can
communicate with an IBM mainframe using Node Type 2.0.
o Up to 254 LU-LU sessions per system can run simultaneously, each
session responsible for a separate communication task or for adding
additional bandwidth to a single communication task. Each application
Transaction Program can handle up to 64 LU-LU sessions.
o A system running SNAplusAPI application can act as a Low Entry Network
(LEN) node in an IBM Advance Peer-to-Peer Network (APPN) environment.
o Enables a remote LU 6.2 application to request an HP 9000 LU 6.2
application to start running and begin communicating with it.
o The HP-UX SNAplusAPI is completely compatible with other HP 9000
SNAplus services. These products may all be running simultaneously
over the same SNAplusLink to the SNA network.
o HP 9000 application programmers can track all LU 6.2 verb calls within
applications being developed. This acts as a valuable debugging aid
during program development.
o Application programs on the HP 9000 are written in C Language.
o Support for Dependent and Independent LUs
o Session-level and conversation-level security with encrypted passwords
o Ability to send Program Initialization Parameters (PIP)
o Control Operator Verbs for controlling and monitoring APPC sessions
The LUA interface:
o Allows user applications to communicate using LU types 0, 1, 2, or 3.
o Is compatible with the Request Unit Interface (RUI) interface of IBM
OS/2 Extended Edition version 1.2 LUA.
o Supports the following verbs:
RUI_BID
RUI_INIT
RUI_PURGE
RUI_READ
RUI_TERM
RUI_WRITE
The Network Management API interface:
o Communicates with the NetView program
o Can send and receive NetView Network Management Vector Transport
messages (NMVTs).
o Supports the following verbs:
NM_OPEN
NM_CLOSE
NM_RECEIVE
NM_SEND
Functional Description
LU6.2 API provides a set of basic and mapped conversation and
type-independent verbs for application programmers to use for
program-to-program communication. The product is a C library which is
linked into the user's application Transaction Program (TP) to gain
access to the IBM system. Communication can take place between an
HP 9000 application program and either a CICS application program
running on an IBM mainframe or an application program running on an IBM
peer system such as the AS/400. These verbs initiate LU 6.2
conversations, send and receive data over these conversations on behalf
of program pairs needing to communicate to complete a "transaction."
Examples of transactions are database updates and file transfers.
HP-UX LU 6.2 API Verb Summary
------------------------------------------------------------------------
Verb Function
------------------------------------------------------------------------
[mc_]allocate Establishes a conversation between two
TPs.
------------------------------------------------------------------------
[mc_]confirm Sends a confirmation request to the remote
TP and waits for a reply.
------------------------------------------------------------------------
[mc_]confirmed Sends a confirmation reply to the remote
TP in response to receiving a confirmation
request.
------------------------------------------------------------------------
[mc_]deallocate Ends a conversation between TPs.
------------------------------------------------------------------------
[mc_]flush Flushes the LU's send buffer.
------------------------------------------------------------------------
[mc_]get_attributes Returns information pertaining to a
conversation.
------------------------------------------------------------------------
[mc_]prepare_to_receive Changes the conversation from send to
receive state in preparation for receiving
data.
------------------------------------------------------------------------
[mc_]receive_and_post Causes the LU to post the conversation
when information is available for the
local TP to receive.
------------------------------------------------------------------------
[mc_]receive_and_wait Waits for information to arrive on the
conversation and then receives the
information. The information can be data,
conversation status, or request for
confirmation.
----------------------------------------------------------------------
[mc_]receive_immediate Receives any information available on the
conversation without waiting.
________________________________________________________________________
[mc_]request_to_send Notifies the remote TP that the local TP
is requesting to send data for the
conversation.
________________________________________________________________________
[mc_]send_data Sends data to the remote TP.
________________________________________________________________________
[mc_]send_error Informs the remote TP that the local TP
has detected an error.
________________________________________________________________________
[mc_]test_rts Tests the conversation for the receipt of
a conversation control request.
________________________________________________________________________
convert Converts EBCDIC data to ASCII and ASCII
data to EBCDIC.
________________________________________________________________________
get_type Returns information pertaining to a
conversation.
________________________________________________________________________
receive_allocate Receives the request from a remote TP to
start a conversation and then establishes
the conversation.
________________________________________________________________________
tp_started Starts the TP, establishes an IPC
connection to a named SNALink server.
________________________________________________________________________
tp_ended Ends the TP, stops an IPC connection to a
named SNALink server.
________________________________________________________________________
Note: [mc_] is optional form for mapped conversations verbs.
In addition to the LU 6.2 verbs, the product provides the following
option sets as defined by IBM in the "Transaction Programmer's Reference
Manual for LU 6.2":
Option Sets
o Immediate allocation of a session
o PIP data
o Flush the LU's send buffer
o Prepare to receive
o Long locks
o Post on receipt with wait
o Post on receipt with test for posting
o Test request-to-send received
o Receive immediate
o Get conversation attributes
o Session level LU-LU verification
o User ID verification
o Program supplied user ID and password
o Logging of data in system log
o Get attributes
o Mapped conversation LU Services component
o Minimum contention winners (target) parameter
o Drain target (no) parameter
o Force parameter
o LU-LU session limit
o Locally known LU names
o Maximum RU size bounds
o Contention winner automatic activation limit
Customer Installation Responsibility
Installation of these products requires knowledge in several overlapping
areas. The staff engineer responsible for this task must have strong
knowledge of (or have direct contact with staff with strong knowledge
of): SNA networks, application environments, and HP-UX system
administration.
Installation requires basic SNA knowledge. This includes knowledge
of interface nodes, network routers, NAUs, PUs, LUs, link types, IBM
hardware and software.
The installer must understand why the SNAplus products are being
installed, how the users are going to use SNAplus and how SNAplus fits
into the network solution.
Installation of SNAplus requires a thorough user-level knowledge of
HP-UX commands. In addition, the installer must be familiar with:
- running update on an HP-UX system
- running SAM (in order to add users)
- the HP-UX file system, privilege groups, and real-time features
- running LAN and PSI diagnostics on an HP-UX system
- HP-UX kernel configuration
Customers who cannot compose a team with this skill set should purchase
HP Installation and Network Startup services.
Additional Implementation Assistance
For implementation needs that go beyond installation, the customer can
either provide self-support, or can purchase additional services from
HP. These services include Network Startup and HP ConsultLine. In
addition, the customer can also purchase service from HP on a
time-and-materials basis.
Network Startup includes implementation scheduling and coordination
assistance, network configuration and verification testing, and network
documentation.
Product Requirements
------------------------------------------------------------------------
Environment SNAplusAPI SNAplusAPI SNAplusAPI
S/300, S/400 S/700 S/800
------------------------------------------------------------------------
Models 3xx, 4xx 7xx 8x7, 890/1-2,
890/3-4
------------------------------------------------------------------------
Operating System HP-UX 9.0 or later
------------------------------------------------------------------------
STREAMS/UX J2231A J2232A J2237A
------------------------------------------------------------------------
SNAplusLink Not available J2226A J2220A
------------------------------------------------------------------------
LAN/9000 Bundled with HP-UX 9000 systems
------------------------------------------------------------------------
Token Ring/9000 Not available J2165A J2166A
------------------------------------------------------------------------
Disk Space 3 MBytes 5.9 MBytes 3.8 MBytes
------------------------------------------------------------------------
Memory Space 800 KBytes 800 KBytes 800 KBytes
------------------------------------------------------------------------
IBM Host IBM System/370 or compatible mainframe (Series 30xx or 43xx)
in an SNA environment, MVS or MVS/XA operating systems,
ACF/VTAM and ACF/NCP, CICS (version 1.7 or later)
------------------------------------------------------------------------
IBM Midrange Examples of systems supported are AS/400, S/36, S/38 or
IBM systems that can be supported in IBM's APPN
environment. IBM system links must support Node Type
2.1. IBM systems must be running the latest operating
system version.
------------------------------------------------------------------------
Ordering Information
HP-UX SNAplusAPI includes right-to-use license and software. For
Series 300, 400, and 700, customer must specify software version option
and a media option, and for the Series 800, a processor option.
HP-UX SNAplusAPI requires HP STREAMS/UX for Series 300, 400, 700, and
800 running HP-UX 9.0.
J2235A HP-UX SNAplusAPI for Series 300/400
AA0 1/4-inch Linus Cartridge
AAU CD ROM
APB HP-UX 8.0
APH HP-UX 9.0
0B0 Delete Manuals
0BG HP-UX SNAplusAPI APPC Programmer's Migration Guide (J2223-61012)
J2229A HP-UX SNAplusAPI for Series 700
AAH DAT
AAU CD ROM
APF HP-UX 8.07
APH HP-UX 9.0
0B0 Delete Manuals
0BG HP-UX SNAplusAPI APPC Programmer's Migration Guide (J2223-61012)
J2223A HP-UX SNAplusAPI for Series 800
AA0 1/4-inch Linus Cartridge
AA1 1600 bpi Magnetic Tape
AAH DAT
AA4 QIC Cartridge Tape
AAU CD ROM
APB HP-UX 8.0
APH HP-UX 9.0
0B0 Delete Manuals
0BG HP-UP SNAplusAPI APPC Programmer's Migration Guide (J2223-61012)
Processor Options
AH0 807/817
AEL 827/837
AE5 847/857
AE6 867/877
AEN 887/897
AEP 890/1-2
AH1 890/3-4
HP-UX SNAplusAPI requires previous installation of HP-UX SNAplusLink
(J2220A or J2226A) either on the stand-alone or on the server system.
The software which the customer orders contains both the stand-alone and
client/server configuration software. During installation, the customer
chooses which configuration is required.
Upgrade options are available for Series 800 SNAplus products.
Please consult the HP 9000 price guide for details.
Note: A copy of HP-UX SNAplusAPI must be ordered for each HP-UX
system which is to communicate with the IBM mainframe through the
server.
Documentation for HP-UX 9.0
J2223-61008 HP-UX SNAplusAPI Administrator's Guide
J2223-61009 HP-UX SNAplusAPI APPC Programmer's Guide
J2223-61010 HP-UX SNAplusAPI LUA Programmer's Guide
J2223-61011 HP-UX SNAplusAPI Common Service Verbs Programmer's Guide
J2223-61013 HP-UX SNAplusAPI Network Management API Programmer's Guide
J2220-61021 HP-UX SNAplus Installation Guide
J2220-61025 HP SNA Products Remote System Configuration Guide
Documentation for HP-UX 8.0
J2220-61001 HP-UX SNAplus Installation Guide
J2220-61002 Getting to Know SNAP-IX
J2220-61003 SNAP-IX User Interface Guide
J2220-61004 SNAP-IX Management Guide
J2220-61005 SNAP-IX Configuration Guide
J2220-61006 SNAP-IX Glossary
J2220-61007 SNAP-IX Diagnostics Guide
J2223-61000 SNAP-IX APPC Programmer's Guide
J2223-61001 CSV Programmer's Guide
J2220-61025 HP SNA Products Remote System Configuration Guide
Support Products
HP offers a spectrum of support service products to help plan,
implement, operate, and manage your multivendor network throughout the
network lifecycle.
For more information, contact your HP Representative, or refer to the
HP data sheets for specific support services.
From HP Networking Communications Specification Guide, 5091-3821E, 9205,
addendum 0193
Associated files: j2223a.plt, j2223a.gal, j2223a.doc
HP-UX SNAplusAPI, Technical Data